package com.sdcs.util;


import com.sdcs.model.Student;

public class Constants {
	public static Student student;
	public static String userId;
	
	public static final String Preferences_user = "user";
	public static final String Preferences_userid = "userid";
	public static final String Preferences_password = "password";
	public static final String Preferences_autologin = "autologin";
	public static final String Preferences_savepassword = "savepassword";
	
	public static final String IP = "10.0.2.2";
	public static final String PORT = "8080";
	
	public static final String SERVER = "http://" + IP + ":" + PORT + "/server";
    
	public static final String  WEB_APP_URL = SERVER + "/" ;
	
	public static final String SERVER_LOGIN = "/student.do?method=login";
	public static final String SERVER_REGISTER = "/student.do?method=registerAccount";
	public static final String SERVER_USERS = SERVER + "/student.do?method=getAll"; //JsonArray.tostring

	public static final String HTTP_POST = "POST";
    
}
